ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Programming (Section 13 - No. 47)

Which part of the program is executed based on the value of 'answer' in the case statement?
The entire program code.
The code block associated with the matching case.
The program will not run.
The ELSE statement.

Giải thích

The CASE statement directs the program to execute a specific block of code based on the value of the variable being checked.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc